import Vue from 'vue'
import Router from 'vue-router'
import Head from '@/components/Head-t'
import Sosuo from '@/components/sosuo'
import Ding from '@/components/Ding'
import Wde from '@/components/Wde'
import Xian from '@/components/Xiang'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: "/",
      redirect:'/head'
    },
    {
      path: '/head',
      name: 'head',
      component: Head
    },
    {
      path: '/sosuo',
      name: 'sosuo',
      component: Sosuo
    },
    {
      path: '/ding',
      name: 'ding',
      component: Ding
    },
    {
      path: '/wde',
      name: 'wde',
      component: Wde
    },
    {
      path: '/xian',
      name: '/xian',
      component: Xian
    }
  ]
})
